package hospital.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.transaction.annotation.Transactional;

import java.util.Map;

/**
 * @author
 * @description:
 */

public interface WeiXinService  {
    //weiXinService
    Map createNative(String orderId);
    @Transactional
    //调用微信接口，查询订单的支付状态
    Map<String, String> queryPayStatus(String orderId);

    //微信退款
    public Boolean refund(Long orderId);
}
